home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Collections: Various
/
JAMDisk #07 (1992)(Just Amiga Monthly)[WB].zip
/
JAMDisk #07 (1992)(Just Amiga Monthly)[WB].adf
/
DOC9110B.LZH
/
pdc.release
< prev
next >
Wrap
INI File
|
1991-10-12
|
12KB
|
403 lines
[October 1991 release b]
The following are changes to the GCC/PDC support libraries made for the
second October 1991 release.
-----------------------------------------------------------------------
include/math.h Removed max(), min()
include/stdlib.h Added abs(), labs()
StdLib/abs.c Added; includes abs(), labs() [int & long
absolute values].
Math/double.s Removed the bad abs() function [which was in
fact doing the job of fabs()]
Math/max.c ) Removed. No one would expect these to be
Math/mod.c ) for 'double' arguments.
Math/min.c )
Simon Wright (sjwright@cix.compulink.co.uk)
12 October 1991
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
[October 1991 release a]
The following are changes to the GCC/PDC support libraries made for the
October 1991 release.
As well as the individual function changes, please note that the libraries
themselves have been rearranged. The libraries are now:
libpdc.a Main library. Now incorporates libgnu.a and math functions.
libmath.a Contains math versions of printf(), scanf() etc.
libarp.a ARP support.
libamiga.a Corresponds to amiga.lib.
Followers will note that libgnu.a has disappeared and the math functions
are now in libpdc.a. The reason for this is that ld is a single-pass
linker - as far as libraries are concerned, anyway - so I could only
get sensible linking behaviour by this merge. It won't make linked
programs any larger.
A parallel version in BLINK format is also available: the libraries (in
the same order) are
pdc.lib
math.lib
arp.lib
( I can't supply my amiga.lib, it being (c). )
( libamiga.a was made from the .fd's )
The LD-format libraries are in archive lib9110a.lzh.
The BLink-format libraries are in archive blib9110a.lzh.
--------------------------------------------------------------------------
include/arpfunctions.inline.h ...
... now specify return register
include/ctype.h fix isgraph(), isascii(), iscsym(), toint(),
toupper(), tolower() to evaluate argument once only
include/setjmp.h do it the industry-standard way
include/stdio.h move fdopen(), fileno() back from system.h
include/system.h remove fdopen(), fileno()
Ctype/test.new.c test new ctype.h
Math/mprintf.c Don't trash string arg on '%.<n>s'
Sort out use of buffer, flags
Add '#' (special) format modifier
Implement '%n'
Math/test_printf.c mod to check above changes
SetJmp/tester.new.c extra checks
Startup/_arpmain.c dup() support
Startup/_displayalert.c ...
... display our own alert text on eg missing dos
Startup/_exit.c dup() support
Startup/_main.c dup() support
StdIO/fopen.c include fdopen() (which now checks the mode arg).
call isatty(fd) not (fp).
StdIO/fprintf.c see above in /Math/
StdLib/exit.c dup() support
System/close.c all below changed for dup() support bar ..
System/dup.c
System/getcwd.c just return NULL if unable to allocate buffer for
the user; also use alloca() for temp storage.
Include test programette.
System/globals.c
System/isatty.c
System/lseek.c
System/open.c
System/read.c
System/stat.c dup(), remove AllocMem()'s, fix up st_mode values
System/test.dup.c
System/write.c
Simon Wright (sjwright@cix.compulink.co.uk)
23 September 1991
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
[beta release, 18 June 1991]
The following is a summary of the source changes made to the PDC libraries
in this release from the 27 May 1991 release (910527).
Note that this release is very similar to the 910527 release in
functionality (changes to access(), perror(), system()), but is
supplied in 'ld'-format instead of BLink. See separate notes.
include/math.h
include all functions (eg, min, max, isnan)
include/string.h
bcpy(), bcmp(), bzero() take void *'s
include/system.h
make read(), write() use void *'s
add Enable_Abort, getdtablesize()
Alloca/alloca.c
make xmalloc() static
Math/atanh.c
incorporate relevant parts of cordic.c, making static (this is the
only user)
Startup/arpbase.s
Startup/dosbase.s
Startup/gfxbase.s
Startup/iconbase.s
Startup/intuitionbase.s
Startup/sysbase.s
Startup/wbenchmsg.s
Startup/_initialsp.s
all should have been .data
Startup/_arpmain.c
Startup/_main.c
both use _initialise_mktemp()
StdIO/bufmgt.c
make addStreamBuf() static, use _addStream()
StdIO/fopen.c
use _addStream()
StdIO/syserr.c
perror() prints trailing \n, uses strerror()
StdLib/environment.c
comment out ParseEnv() & String
StdLib/system.c
get function result from top half of longword returned
String/strerror.c
report actual value of unexpected errnums
System/access.c
this function is supposed to return 0 if it works, not if it
fails! also, the 'mode' parameter should be a mask
System/fdopen.c
use _addStream()
System/mktemp.c
make initialise_mktemp() _initialise_mktemp()
System/open.c
make getdtablesize() public
System/stat.c
comment out is_file()
Simon Wright, 20 June 1991
sjwright%cix@specialix.co.uk (or, just maybe, sjwright@cix.compulink.co.uk)
22 Somervell Drive
Fareham
Hants PO16 7QG
United Kingdom
(+44)329-280835
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
{pdcu910527}
We found that the .lib files in pcdl910527.LZH were not compatible with
BLINK 6.7.
The libraries in this archive were created from the same object files
using the librarian LIBR. They work with Lattice BLINK 5.0 and the
Software Distillery BLINK 6.7.
I have included the .dir files although they don't seem to be necessary
for BLINK.
Simon Wright
sjwright%cix.compulink@specialix.co.uk (I _think_ that should work :-)
7 June 1991
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
{pdc[lsm]910527}
R E L E A S E N O T E S
=========================
PDC for the Amiga/Gnu C.
Release 910527.
Changes from previous release (31 March 1991):
=============
Assert/test.c
Assert/_assert_fail.c
---------------------
Make assertions fail via function call, so that assert() can be treated as
a function. Include test harness.
============
Ctype/test.c
------------
Test harness borrowed from GNU libc.
================
include/alloca.h
include/arpfunctions.h
include/arpfunctions.inline.h
include/assert.h
include/dosfunctions.h
include/getopt.h
include/math.h
include/setjmp.h
include/signal.h
include/stdarg.h
include/stdio.h
include/stdlib.h
include/string.h
include/system.h
include/varargs.h
-----------------
Various changes; mainly bugfixes, but new are:
. alloca.h (giving, for __GNUC__, __builtin_alloca)
. arpfunctions.h, declarations of ARP (& DOS) functions (1.2 only :-)
. arpfunctions.inline.h, as above but inline definitions where possible
. dosfunctions.h, declarations of DOS functions
. getopt.h
==========
lib/arpc.o
lib/dosc.o
lib/math.lib
lib/pdc.lib
------------
See under Startup for the two .o files.
As before, gnulib.lib and amiga.lib have not changed.
arp.lib may be required (1.2 or later).
============
Math/atan2.c
Math/double.s
Math/ieeedoubtrans.s
Math/mprintf.c
Math/mscanf.c
Math/pml.h
Math/single.s
Math/test_math.c
Math/test_scanf.c
-----------------
Completed 'a6' preservation exercise; correct argument order for atan2();
move definition of library bases to Startup; revise printf, scanf
extensively; include test harnesses from GNU libc.
Bugs:
. the "#" modifier is not supported
. the "%n" specifier is not supported.
===============
SetJmp/setjmp.s
SetJmp/tester.c
---------------
Commentary merged from various sources, test routine incorporated.
=================
Startup/arpbase.s
Startup/arpc.s
Startup/dosbase.s
Startup/dosc.s
Startup/gfxbase.s
Startup/iconbase.s
Startup/intuitionbase.s
Startup/mathieeedoubbasbase.s
Startup/mathieeedoubtransbase.s
Startup/sysbase.s
Startup/wbenchmsg.s
Startup/_arpmain.c
Startup/_exit.c
Startup/_initialsp.s
Startup/_main.c
---------------
Major rewrite. There are now two startup object files, dosc.o & arpc.o.
Install by copying the appropriate startup .o to acrt0.o.
Both support:
. quoted arguments; to represent a quote in an argument, double it.
For example, if you wanted to change '" ' to ' "' using sed, say
sed -e "s/"" / ""/g"
. Workbench Tool Types. If running from Workbench, the size &c of
the stdio window created is controlled by the WINDOW= Tool Type
if present; if not, by the string TWspec[] (see this directory).
If TWspec[0] is '\000', no window is opened (but it is up to you
not to use stdio, and there may well be bugs lurking here).
You need LIBS:icon.library for this to work.
In addition, arpc.o allows ARP wildcards in the argument list. Wildcard
processing is done after quote handling, and the rules are:
. if an argument does not appear to ARP to contain wildcards, it is
left as is,
. if an argument appears to ARP to contain wildcards but no files
match, the argument is left as is,
. if a wildcard argument matches files, it is replaced by the
matching files (in the same order as 'list').
You don't need to link with arp.lib even if you start with arpc.o (I used
arpfunctions.inline.h), unless of course you use ARP functions yourself.
You will, however, need LIBS:arp.library.
Bugs:
. the wildcard processing may need some tuning, especially in the
area of escape characters. ARP uses "'" (so "'*" doesn't seem to
ARP to be a wildcard spec) but this release doesn't handle that.
===============
StdIO/fprintf.c
StdIO/fscanf.c
StdIO/test_rdwr.c
-----------------
The two system files are copies of the Math/ versions, using #ifdef to
control whether floats (doubles) are handled.
Test harness included from GNU libc.
Bugs:
. the "#" modifier is not supported
. the "%n" specifier is not supported.
====================
StdLib/environment.c
StdLib/malloc.c
StdLib/rand.c
-------------
Made some internals of environment.c static.
Fixed up malloc.c (realloc() was a mess)
Include better rand() function (internal test routine #ifdef TEST)
===============
System/getopt.c
System/globals.c
System/mktemp.c
System/stat.c
System/utime.c
--------------
Sort out getopt() (& include .h). Internal test/demo #ifdef TEST.
Remove some globals
Split mktemp.c from stat.c
Fix utime(), which assumed time started in 1970 (I think), ie UNIX time
rather than AmigaDOS time.
==============
Time/asctime.c
Time/test.time.c
----------------
Fix asctime() so day, hour use field width of 2.
Include test harness.
Bugs:
. mktime() uses tm_yday, doesn't check for consistency with other
fields.
================
Simon Wright, 27 May 1991
sjwright%cix.compulink.co.uk@specialix.co.uk
22 Somervell Drive
Fareham
Hants PO16 7QG
United Kingdom
(+44)329-280835
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
{31 March 1991}
pdc-hl.README
=============
This archive contains the Headers for the PD C distribution
accompanying the GNU C compiler, and two of the Libraries
(pdc.lib, math.lib).
The original distribution from which this distribution has been
made was uploaded to CIX by Richard Harrison (tricky@cix) in
December 1990.
The source changes made are mainly a reorganisation of the
library and source structure, and 'ANSI'fication of the Headers.
The libraries have been recompiled completely with the GCC
compiler, and are somewhat smaller as a result. Some errors have
been corrected.
The remainder of the libraries (amiga.lib, gnulib.lib, acrt0.o)
have not changed and are not included.
The main source is in pdc-s.LZH and the math source in pdc-m.LZH.
Simon Wright (sjwright@cix)
31 March 1991
Bugs:
-----
varargs.h is not compatible with stdarg.h. stdarg.h is included
by stdio.h, so you may get warnings. If you need varargs.h you
should include it after stdio.h.